package com.bdth.bdthiss.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 合同产品信息
 * </p>
 *
 * @author LGP
 * @since 2019-09-03
 */
@TableName("bdth_contract_product")
public class ContractProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 合同编号
     */
    @TableField(value = "contract_code")
    private String contractCode;
    /**
     * 合同名称
     */
    @TableField(value = "contract_name")
    private String contractName;
    /**
     * 产品名称
     */
    private String productname;
    /**
     * 产品型号
     */
    private String producttype;
    /**
     * 产品类型
     */
    private String productmode;
    /**
     * 是否军品
     */
    private String armming;
    /**
     * 单价
     */
    private BigDecimal productprice;
    /**
     * 数量
     */
    private BigDecimal productsum;
    /**
     * 小计
     */
    private BigDecimal producttotal;
    /**
     * 备注
     */
    private  String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getProducttype() {
        return producttype;
    }

    public void setProducttype(String producttype) {
        this.producttype = producttype;
    }

    public String getProductmode() {
        return productmode;
    }

    public void setProductmode(String productmode) {
        this.productmode = productmode;
    }

    public String getArmming() {
        return armming;
    }

    public void setArmming(String armming) {
        this.armming = armming;
    }

    public BigDecimal getProductprice() {
        return productprice;
    }

    public void setProductprice(BigDecimal productprice) {
        this.productprice = productprice;
    }

    public BigDecimal getProductsum() {
        return productsum;
    }

    public void setProductsum(BigDecimal productsum) {
        this.productsum = productsum;
    }

    public BigDecimal getProducttotal() {
        return producttotal;
    }

    public void setProducttotal(BigDecimal producttotal) {
        this.producttotal = producttotal;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ContractProduct{" +
        ", id=" + id +
        ", contractCode=" + contractCode +
        ", contractName=" + contractName +
        ", productname=" + productname +
        ", producttype=" + producttype +
        ", productmode=" + productmode +
        ", armming=" + armming +
        ", productprice=" + productprice +
        ", productsum=" + productsum +
        ", producttotal=" + producttotal +
        ", remark=" + remark +
        "}";
    }
}
